Fix gnttab_release_mappings -- it doesn't need to drop
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 21 Dec 2005 17:45:43 +0000 (18:45 +0100)
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>
Wed, 21 Dec 2005 17:45:43 +0000 (18:45 +0100)
commitdb74dfce16491931f6baf5c7e5d13653f05e4dad
treef02b1468382304758d5a1facf658690a6269f346
parentd9af6ba2e09354f72a9b99d47e06ea0169ce073b
Fix gnttab_release_mappings -- it doesn't need to drop
page refcnts for host mappings as they are already
destroyed by put_page_from_l1e(). Also call
gnttab_release_mappings later (after destroying
page-table references) and from common code rather than
arch/x86.

Also a few other misc gnttab cleanups.

Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/domain.c
xen/arch/x86/setup.c
xen/common/domain.c
xen/common/grant_table.c
xen/include/xen/grant_table.h